package com.mdd.common.mapper.order;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.order.OrderClue;
import com.mdd.common.entity.order.OrderClueList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单Mapper
 * @author LikeAdmin
 */
@Mapper
public interface OrderClueMapper extends IBaseMapper<OrderClue> {

    IPage<OrderClueList> selectCluePage(Page page, @Param("params") Map params);
    void batchUpdateOrderClue(@Param("orderClueIds") String[] orderClueIds,@Param("deptId") Long deptId,@Param("deptCode") String deptCode);

    void batchInsertOrderClue(@Param("orderClues")List<OrderClue> orderClueList);
}
